package  capricornus.net.loader.multiloader.event
{
	import flash.events.Event;
	
	public class MultiLoadEvent extends Event
	{
		public static const BEGIN_LOAD:String = "BEGINLOAD";
		public static const ONE_COMPLETE:String = "ONECOMPLETE";	
		public static const ONE_ERROR:String = "ONEERROR";
		public static const LOAD_PROGRESS_PROPORTION:String = "LOADPROGRESS";
		public static const ALL_COMPLETE:String = "ALLCOMPLETE";
		
		public var data:Object;
		
		public function MultiLoadEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			return new MultiLoadEvent( this.type, data );
		}
	}
}